package com.eshop.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 分页公共返回对象
 * @author guyongrui
 */
@ApiModel("自定义分页返回对象封装类")
public class RespPageBean {
    //总条数
    @ApiModelProperty(value = "数据总条数")
    private Long total;
    //数据List
    @ApiModelProperty(value = "数据列表")
    private List<?> data;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }
}
